package com.taotao.rest.webservice;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.taotao.common.pojo.TaotaoResult;
import com.taotao.rest.service.RedisService;
@Component
@WebService(serviceName="RedisWebService", endpointInterface="com.taotao.rest.webservice.RedisWebService")
public class RedisWebServiceImpl implements RedisWebService {
	@Autowired
	private RedisService redisService;
	@Override
	public TaotaoResult sysncContent(long categoryId) {
		return redisService.sysncContent(categoryId);
	}
	@Override
	public TaotaoResult sysnItem() {
		// TODO Auto-generated method stub
		return redisService.sysItem();
	}

}
